package com.wanmait.movie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wanmait.movie.entity.Cinema;
import com.wanmait.movie.entity.Movie;
import com.wanmait.movie.entity.VO.BrandVO;
import com.wanmait.movie.entity.VO.CinemaDetailedVO;
import com.wanmait.movie.entity.VO.CinemaVO;
import com.wanmait.movie.entity.request.manage.cinema.CinemaUpdateRequest;

import java.util.List;

/**
* @author 24672
* @description 针对表【movie(电影表)】的数据库操作Service
* @createDate 2023-12-15 10:00:43
*/
public interface CinemaService extends IService<Cinema> {

    /**
     * 获取全部影院信息
     * @return
     */
    PageInfo<CinemaVO> getCinemaInfo(Integer pageNum, Integer pageSize);

    /**
     * 获取全部影院信息
     * @return
     */
    List<CinemaVO> getCinemaInfo();

    /**
     * 获取影院详细信息
     * @return
     */
    CinemaDetailedVO getCinemaInfoById(Integer id);

    BrandVO getBrandInfo();

    Cinema updateCinema(CinemaUpdateRequest cinemaUpdateRequest);

    List<Cinema> getCinemaList();

    List<Movie> getCinemaMovieList(Cinema cinema);
}
